<!-- Copyright 2015 The Chromium Authors. All rights reserved.
  -- Use of this source code is governed by a BSD-style license that can be
  -- found in the LICENSE file.
  -->
<style>
  .container {
    --cr-toast-background: var(--cros-bg-color-elevation-2-inverted);
    box-shadow: var(--cros-elevation-2-shadow);
    justify-content: space-between;
    max-width: 336px;
    min-height: 48px;
    min-width: 256px;
    padding: 0;
  }

  :host-context(:root[dir=ltr]) .container {
    left: unset;
    right: 0;
  }

  :host-context(:root[dir=rtl]) .container {
    left: 0;
    right: unset;
  }

  .text {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    --cr-toast-text-color: var(--cros-toast-text-color);
    display: -webkit-box;
    line-height: 20px;
    margin: 14px 16px;
    overflow: hidden;
  }

  .action {
    --cr-toast-button-color: var(--cros-toast-button-color);
    --ink-color: var(--cros-toast-button-color);
    --paper-ripple-opacity: var(--cros-button-secondary-ripple-opacity);
    margin: 0 8px !important;
  }

  .action:active {
    box-shadow: none;
  }

  :host-context(.focus-outline-visible) .action:focus {
    --focus-shadow-color: none;
    outline: 2px solid var(--cros-toast-button-color);
  }
</style>
<cr-toast class="container" id="container" duration="5000">
  <div class="text" id="text"></div>
  <cr-button class="action" id="action" on-tap="onActionTapped_"></cr-button>
</cr-toast>
